package com.hhit.bigscreenbackmanage.controller.jjgl;

import com.hhit.bigscreenbackmanage.entity.jjgl.TJjglFbjsfb;
import com.hhit.bigscreenbackmanage.service.jjgl.TJjglFbjsfbService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (TJjglFbjsfb)表控制层
 *
 * @author makejava
 * @since 2021-07-21 09:22:00
 */
@RestController
@RequestMapping("tJjglFbjsfb")
public class TJjglFbjsfbController {
    /**
     * 服务对象
     */
    @Resource
    private TJjglFbjsfbService tJjglFbjsfbService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public TJjglFbjsfb selectOne(String id) {
        return this.tJjglFbjsfbService.queryById(id);
    }

}